Microsoft DirectX 8.1 (C++)

CMediaSample::IsPreroll

The IsPreroll method determines if this sample is a preroll sample. A preroll sample should not be displayed. This method implements the IMediaSample::IsPreroll method.

Syntax

HRESULT IsPreroll(void);

Return Value

Returns S_OK if the sample is a preroll sample, and S_FALSE otherwise.

Remarks

The CMediaSample::m_dwFlags member variable specifies this property.

See Also